﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Marta.buchalska.wesele
{
    public partial class OurOffer : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                var text = new Model.DataBaseGateway().GetPage("ofer").Tables[0].Rows[0][0] as string;
                content.Controls.Add(new Literal() { Text = Server.HtmlDecode(text) });
            }
            catch (Exception)
            {
            }

        }
    }
}